createAnonymousAccount

abstract fun createAnonymousAccount(onResult: (Throwable?) -> Unit)

Create an anonymous account for the user. This signs the user in anonymously without requiring email or password.

Parameters

onResult

The callback function to handle the result of the account creation. It receives an optional Throwable indicating the error, if any.